<?php

/**
 * 字符操作类
 *
 * @author hda
 */

namespace library\common;

class arr {
    public static function array_to_string($arr){
        return implode(',',$arr);
    }

    public static function string_to_array($separator,$str){
        return explode($separator,$str);
    }

}
